import {getLocale} from '@/config/storage.js'
export default {
	namespaced: true,
	state: {
		language:getLocale()||uni.getLocale()
	},
	mutations: {
		setLanguage(state, payload) {
			console.log(payload);
			state.language = payload;
			uni.setLocale(payload)
		}
	},
	actions: {
		
	}
};